﻿@using BV.PACS.WEB.Client.Services.Context
@{

    var state = ContextService.CurrentApplicationContext;

    <div class="content px-4">
        <div class="row alert alert-primary background-white">
            <div class="col-sm-12">

                <div>Debug: Stack depth = @ContextService.Contexts.Count</div>
                <div>Debug: Context = @state?.PageContext</div>
                <div>Debug: PageName = @state?.PageName</div>

            </div>
        </div>
    </div>
}


@functions
{

    [Parameter]
    public ApplicationContextService ContextService { get; set; }

}